const arr1:Array<number> =[1,2,3]
const arr2:number[] = [1,3,2]
//--------------
function sum(...args:number[]){
    return args.reduce((prev,current)=>prev+current,0)
}